[Android] Is there a way to make ellipsize="marquee" always scroll?
Posted
by Matthias
on Stack Overflow
See other posts from Stack Overflow
or by Matthias
Published on 2009-12-01T17:40:44Z
Indexed on
2010/03/24
1:53 UTC
Read the original article
Hit count: 814
I want to use the marquee effect on a TextView, but the text is only being scrolled when the TextView gets focus. That's a problem, because in my case, it can't.
I am using:
android:ellipsize="marquee"
android:marqueeRepeatLimit="marquee_forever"
Is there a way to have the TextView always scroll its text? I've seen this being done in the Android Market app, where the app name will scroll in the title bar, even if it doesn't receive focus, but I couldn't find this being mentioned in the API docs.
© Stack Overflow or respective owner